<template>
  <div>
    <div class="container">
      <img :src="imgsrc" alt="" style="" />
      <p>
        <a :href="imgsrc" download>
          <img src="@/assets/img/icon/assistant/xiazai.svg" alt="" />
          立即下载
        </a>
      </p>
    </div>
  </div>
</template>

<script>
import { myCanvas } from '../hooks/myCanvas'
export default {
  name: 'assistant-right',
  setup() {
    let imgsrc = myCanvas()
    return {
      imgsrc
    }
  }
}
</script>

<style lang="less" scoped>
.container {
  width: 648px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  p {
    position: absolute;
    right: 0;
    top: 29px;
    right: 30px;
    img {
      vertical-align: middle;
    }
  }
}
</style>
